import { createApp } from "vue";
import "element-plus/dist/index.css";
import ElementPlus from "element-plus";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import "@/utils/rem";
import { createPinia } from "pinia";
import "@/style/index.scss";
import "@/style/style.css";
import './assets/font/iconfont.css'
import router from "./router";
import App from "./App.vue";
import directives from "@/utils/dragMove"
// 拖拽
import drag from '@/directive/drag.js'

const app = createApp(App);
app.use(createPinia());
app.use(router);
app.use(ElementPlus, { zIndex: 300, locale: zhCn });
app.use(directives)
app.use(drag)
app.mount("#app");
